The USBISO Sample

The USBISO Sample accompanies Chapter 11 and illustrates how to program an isochronous endpoint.

The sample includes three components:

Building USBISO

To build USBISO.SYS, follow the general instructions for building a WDM sample. The Microsoft Visual C++ project file is named USBISO.DSP in the SYS subdirectory.

To build TEST.EXE, follow the general instructions for building user-mode programs. The Microsoft Visual C++ project file is named TEST.DSP in the TEST subdirectory.

Testing USBISO

First follow the general instructions for testing USB samples to install the device firmware (USBISO.HEX in the EZUSB subdirectory) and the driver. Then open a command prompt and run TEST.EXE from the TEST\DEBUG subdirectory. TEST will read from the device’s isochronous endpoint and report the data, which should consist in rows of increasing hexadecimal numbers. (The numbers are actually the low-order 8 bits of the frame numbers within which the data were sent.)